package com.lgy.springclou.service;

import com.lgy.springclou.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

@Component
@FeignClient(value = "CLOUD-PAYMENT-SERVICE")
public interface PaymentFeignService {
    @GetMapping("/pay")
    public R list();

    @GetMapping("/pay/feign/timeout")
    public String payFeignTimeout();
}
